import React from 'react';
import ReactDOM from 'react-dom';
import {BrowserRouter as Router}from 'react-router-dom';
import App from './router/App';
// 自动更新是不会刷新
if(module.hot){
    module.hot.accept()
}


ReactDOM.render(
    <Router>
        <App/>
    </Router>
    ,document.getElementById('root'))